package com.changcheng.mapper;
import com.changcheng.pojo.Record;
import com.changcheng.pojo.Do.RecordInDo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
@Repository
public interface RecordMapper {
    List<Record> findAllRecord();
    void addRecord(RecordInDo recordInDo);
    List<Record> findRecord(@Param("userID")Integer userID, @Param("startDate")Date startDate, @Param("endDate")Date endDate);
}
